package com.tb.tbv1productservice.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.tb.v1.api.shoop.ISpAttributeService;
import com.tb.v1.common.base.BaseServiceImpl;
import com.tb.v1.common.base.IBaseDao;
import com.tb.v1.entity.SpAttribute;
import com.tb.v1.mapper.SpAttributeMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * @author: tangBin
 * @Date: 2020/7/21 0021 15:36
 * @Description:
 */
@Service
public class SpAttributeService extends BaseServiceImpl<SpAttribute> implements ISpAttributeService {
    @Autowired
    private SpAttributeMapper spAttributeMapper;
    @Override
    public IBaseDao<SpAttribute> getBaseDao() {
        return spAttributeMapper;
    }

    @Override
    public List<SpAttribute> getAttributeList(Map map) {
        return spAttributeMapper.getAttributeList(map);
    }
}
